<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>文章显示页面</title>
<css file='__PUBLIC__/css/base.css' />
<jquery />
<js file='__PUBLIC__/js/iframe.js' />
</head>
<body>
	<div class='now_path'>
		<strong>您现在的位置是:</strong>
		<a href=''>文章管理</a>
	</div>
	<div class="send1">
        <a href="__CONTROL__/add_news_show" target="con" class="current button1">发表文章</a>
    </div>
	<form action='?' method='post'>
		<table class="table1">
			<thead>
				<tr>
					<td width="10"><input type="checkbox" /></td>
					<td width="30">ID</td>
					<td>标题</td>
					<td width="160">栏目</td>
					<td width="60">点击率</td>
					<td width="100">作者</td>
					<td width="150">发布时间</td>
					<td width="60">审核</td>
					<td width="230">操作</td>
				</tr>
			</thead>
			<tbody>
			<list from="$news" name="$v">
				<tr>
					<td width="10"><input type="checkbox" name='xuanze[]' value='{$v.id}' class='selected'/></td>
					<td width="30">{$v.id}</td>
					<td>{$v.title}</td>
					<td width="160">{$v.cname}</td>
					<td width="60">{$v.click}</td>
					<td width="100">{$v.username}</td>
					<td width="150"><?php echo date('Y-m-d',$v['addtime']);  ?></td>
					<td width="60"><if value='$v.status'>已审核<else />未审核</if></td>
					<td width="230" style="font-size:12px;">
					<a href="__WEB__/admin/news/news_huanyuan/nid/{$v.id}">还原</a> | 
					<a href="#">删除</a>
					</td>
				</tr>
			</list>
			</tbody>  
		</table>
		<div class="send2 l">
			<a href="#" class="button1" id='quanxuan'>全选</a>
			<a href="#" class="button1" id='fanxuan'>反选</a>
			<input type='submit' class='button2' value='还原' onclick='if(confirm("确定还原吗？")){this.form.action="__WEB__/admin/news/news_huanyuan";this.form.submit();}'/>
			<input type='submit' class='button2' value='删除' onclick='if(confirm("确定删除吗？")){this.form.action="__WEB__/admin/news/news_del_many";this.form.submit();}'/>
		</div>
	<form>
	<div class="page r" style="margin-top:10px;">{$page}</div>
</body>
</html>